package com.lvmama.pangolin.entity.lmm;


import java.util.Date;
import java.util.List;

public class LMMTicketCommodity {
    private String id;

    private String productId;

    private String commodityId;

    private String commodityName;

    private String commodityType;

    private String saleCond;

    private String refundCond;

    private String rackRate;

    private String salePrice;

    private Date createTime;

    private String preferentialInfo;

    private String priceListId;

    private Date newGrabTime;

    private String taskId;
    
//    private String packageType;
    
    private String compositeId;
    
    private List<LMMTicketCommodityPrice> priceList;
    
    private int set_as_lowest;
    
    private Integer commPriceChangeNum;
    
    private String commodityAdvice;
    
    private String commodityGrade;
    private double priceGrade = 0;
    //退改得分
    private double refundCondGrade = 0;
    //优惠得分
    private double preferentialGrade = 0;
    //预定时间得分
    private double booktimeGrade = 0;
    //生效时间得分
    private double efficientGrade = 0;
    private String refundCondValue;
    private String preferentialValue;
    private String booktimeValue;
    private String efficientValue;
	//产品总评分统计,该字段用于对数据进行评分统计并进行排序
	private double dimension_all =0;
	//产品总评分统计,增加城市
	public String cityCode;
	//产品总评分统计,增加省份
	private String provinceCode;
	//产品总评分统计,产品类型
	private String packageType;
	//产品总评分统计,增加字段
	private String segName;
	//产品名称，即为风景点名称
	public String sceneryName;
	public String efficientTime;

	public String getEfficientTime() {
		return efficientTime;
	}

	public void setEfficientTime(String efficientTime) {
		this.efficientTime = efficientTime;
	}

	public String getSceneryName() {
		return sceneryName;
	}

	public void setSceneryName(String sceneryName) {
		this.sceneryName = sceneryName;
	}

	public double getDimension_all() {
		return dimension_all;
	}

	public void setDimension_all(double dimension_all) {
		this.dimension_all = dimension_all;
	}

	public String getSegName() {
		return segName;
	}

	public void setSegName(String segName) {
		this.segName = segName;
	}

	public String getCityCode() {
		return cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}

	public String getProvinceCode() {
		return provinceCode;
	}

	public void setProvinceCode(String provinceCode) {
		this.provinceCode = provinceCode;
	}

	public String getRefundCondValue() {
		return refundCondValue;
	}

	public void setRefundCondValue(String refundCondValue) {
		this.refundCondValue = refundCondValue;
	}

	public String getPreferentialValue() {
		return preferentialValue;
	}

	public void setPreferentialValue(String preferentialValue) {
		this.preferentialValue = preferentialValue;
	}

	public String getBooktimeValue() {
		return booktimeValue;
	}

	public void setBooktimeValue(String booktimeValue) {
		this.booktimeValue = booktimeValue;
	}

	public String getEfficientValue() {
		return efficientValue;
	}

	public void setEfficientValue(String efficientValue) {
		this.efficientValue = efficientValue;
	}

	public double getRefundCondGrade() {
		return refundCondGrade;
	}

	public void setRefundCondGrade(double refundCondGrade) {
		this.refundCondGrade = refundCondGrade;
	}

	public double getPreferentialGrade() {
		return preferentialGrade;
	}

	public void setPreferentialGrade(double preferentialGrade) {
		this.preferentialGrade = preferentialGrade;
	}

	public double getBooktimeGrade() {
		return booktimeGrade;
	}

	public void setBooktimeGrade(double booktimeGrade) {
		this.booktimeGrade = booktimeGrade;
	}

	public double getEfficientGrade() {
		return efficientGrade;
	}

	public void setEfficientGrade(double efficientGrade) {
		this.efficientGrade = efficientGrade;
	}

	public double getPriceGrade() {
		return priceGrade;
	}

	public void setPriceGrade(double priceGrade) {
		this.priceGrade = priceGrade;
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id==null?null:id.trim();
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId==null?null:productId.trim();
    }

    public String getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(String commodityId) {
        this.commodityId = commodityId==null?null:commodityId.trim();
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName==null?null:commodityName.trim();
    }

    public String getCommodityType() {
        return commodityType;
    }

    public void setCommodityType(String commodityType) {
        this.commodityType = commodityType==null?null:commodityType.trim();
    }

    public String getSaleCond() {
        return saleCond;
    }

    public void setSaleCond(String saleCond) {
        this.saleCond = saleCond==null?null:saleCond.trim();
    }

    public String getRefundCond() {
        return refundCond;
    }

    public void setRefundCond(String refundCond) {
        this.refundCond = refundCond==null?null:refundCond.trim();
    }

    public String getRackRate() {
        return rackRate;
    }

    public void setRackRate(String rackRate) {
        this.rackRate = rackRate==null?null:rackRate.trim();
    }

    public String getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(String salePrice) {
        this.salePrice = salePrice==null?null:salePrice.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPreferentialInfo() {
        return preferentialInfo;
    }

    public void setPreferentialInfo(String preferentialInfo) {
        this.preferentialInfo = preferentialInfo==null?null:preferentialInfo.trim();
    }

    public String getPriceListId() {
        return priceListId;
    }

    public void setPriceListId(String priceListId) {
        this.priceListId = priceListId==null?null:priceListId.trim();
    }

    public Date getNewGrabTime() {
        return newGrabTime;
    }

    public void setNewGrabTime(Date newGrabTime) {
        this.newGrabTime = newGrabTime;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId==null?null:taskId.trim();
    }

	
	public String getPackageType()
	{
		return packageType;
	}

	
	public void setPackageType(String packageType)
	{
		this.packageType = packageType==null?null:packageType.trim();
	}
	
	
	
	public String getCompositeId()
	{
		return compositeId;
	}

	
	public void setCompositeId(String compositeId)
	{
		this.compositeId = compositeId==null?null:compositeId.trim();
	}

	public List<LMMTicketCommodityPrice> getPriceList()
	{
		return priceList;
	}

	
	public void setPriceList(List<LMMTicketCommodityPrice> priceList)
	{
		this.priceList = priceList;
	}


	public int getSet_as_lowest() {
		return set_as_lowest;
	}

	public void setSet_as_lowest(int set_as_lowest) {
		this.set_as_lowest = set_as_lowest;
	}

	
	public Integer getCommPriceChangeNum()
	{
		return commPriceChangeNum;
	}

	
	public void setCommPriceChangeNum(Integer commPriceChangeNum)
	{
		this.commPriceChangeNum = commPriceChangeNum;
	}

	
	public String getCommodityAdvice()
	{
		return commodityAdvice;
	}

	
	public void setCommodityAdvice(String commodityAdvice)
	{
		this.commodityAdvice = commodityAdvice;
	}

	
	public String getCommodityGrade()
	{
		return commodityGrade;
	}

	
	public void setCommodityGrade(String commodityGrade)
	{
		this.commodityGrade = commodityGrade;
	}


	@Override
	public String toString() {
		return "LMMTicketCommodity{" +
				"id='" + id + '\'' +
				", productId='" + productId + '\'' +
				", commodityId='" + commodityId + '\'' +
				", commodityName='" + commodityName + '\'' +
				", commodityType='" + commodityType + '\'' +
				", saleCond='" + saleCond + '\'' +
				", refundCond='" + refundCond + '\'' +
				", rackRate='" + rackRate + '\'' +
				", salePrice='" + salePrice + '\'' +
				", createTime=" + createTime +
				", preferentialInfo='" + preferentialInfo + '\'' +
				", priceListId='" + priceListId + '\'' +
				", newGrabTime=" + newGrabTime +
				", taskId='" + taskId + '\'' +
				", compositeId='" + compositeId + '\'' +
				", priceList=" + priceList +
				", set_as_lowest=" + set_as_lowest +
				", commPriceChangeNum=" + commPriceChangeNum +
				", commodityAdvice='" + commodityAdvice + '\'' +
				", commodityGrade='" + commodityGrade + '\'' +
				", priceGrade=" + priceGrade +
				", refundCondGrade=" + refundCondGrade +
				", preferentialGrade=" + preferentialGrade +
				", booktimeGrade=" + booktimeGrade +
				", efficientGrade=" + efficientGrade +
				", refundCondValue='" + refundCondValue + '\'' +
				", preferentialValue='" + preferentialValue + '\'' +
				", booktimeValue='" + booktimeValue + '\'' +
				", efficientValue='" + efficientValue + '\'' +
				", dimension_all=" + dimension_all +
				", cityCode='" + cityCode + '\'' +
				", provinceCode='" + provinceCode + '\'' +
				", packageType='" + packageType + '\'' +
				", segName='" + segName + '\'' +
				", sceneryName='" + sceneryName + '\'' +
				'}';
	}
}